namespace RBAC.Domain.HXJX
{
    using System;
    using System.ComponentModel.DataAnnotations.Schema;

    /// <summary>
    /// 生产工单附件
    /// </summary>
    [Table("ProductionWorkOrderAttachment")]
    public class ProductionWorkOrderAttachment : BaseEntity
    {
        /// <summary>
        /// 关联工单Id
        /// </summary>
        public long WorkOrderId { get; set; }

        /// <summary>
        /// 文件名
        /// </summary>
        public string? FileName { get; set; }

        /// <summary>
        /// 文件类型（扩展名或业务类型）
        /// </summary>
        public string? FileType { get; set; }

        /// <summary>
        /// 文件访问地址/存储路径
        /// </summary>
        public string? FileUrl { get; set; }

        /// <summary>
        /// 上传人
        /// </summary>
        public string? Uploader { get; set; }

        /// <summary>
        /// 上传时间
        /// </summary>
        public DateTime? UploadTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
    }
}
